const sequel= require('../../config/sequelize');
const Sequelize = require('sequelize');

const Manufacturer = sequel.define('manufacturer', {
    name: {
        type: Sequelize.STRING(100),
        field: 'name'
    },
    manufacturerOwner: {
        type: Sequelize.STRING(100),
        field: 'manufacturerOwner'
    },
    address: {
        type: Sequelize.STRING(300),
        field: 'address'
    },
    soil: {
        type: Sequelize.STRING(20),
        field: 'soil'
    },
    temperature: {
        type: Sequelize.STRING(20),
        field: 'temperature'
    },
});

module.exports = Manufacturer;